home *** CD-ROM | disk | FTP | other *** search
/ APDL Eductation Resources / APDL Eductation Resources.iso / programs / misc / mole / !Mole / Docs / Config next >
Encoding:
Text File  |  1993-02-07  |  2.7 KB  |  68 lines

  1.  
  2. !Mole Config file
  3. =================
  4.  
  5.    This should be called <Mole$Dir>.Config, it is divided into lines
  6. separated by control characters, ie ones with ASCII values of less than 32.
  7. The first two characters on the line determine the meaning of the rest of
  8. the line.
  9.    Options not specified in the file are set to their default values by the
  10. program, invalid options cause the line to be ignored.
  11.    Parameters should be in base 10, they can be separated by spaces and/or
  12. commas, and missing parameters are treated as 0. Only very rudimentary range
  13. checks are done, so silly parameter values will lead to silly results.
  14.    Possible options are:
  15.  
  16. ## txt   a comment, the rest of the line is ignored
  17.  
  18. AF file  initial atom types file to load, default is
  19.          <Mole$Dir>.AtomTypes.Default
  20. FD dir   directory to read initial fragments from, 'Mole' files in this dir
  21.          are loaded as fragments, default is <Mole$Dir>.Fragments
  22.  
  23. BG n,n,n back ground colour red, green, blue components (0-255)
  24. BD n,n,n bond colour
  25.  
  26. DT n     set display type to n, current values of n are 1 mono skeletal
  27.                                                         2 skeletal
  28.                                                         3 ball and stick
  29.                                                         4 space filling
  30.                                                         5 Van der Waals surface
  31. DS n     dispersion of points over the VDW surface (larger values => less points)
  32. SH f     show hydrogens if f=1, don't if f=0
  33. PR f     pseudo-render molecule if f=1, don't if f=0
  34.  
  35. SM f     open Mover when main window is opened if f=1, don't if f=0
  36. SE f     open Editor when main window is opened if f=1, don't if f=0
  37.  
  38. RS n     rotation step in Mover, only the integral part of n is considered
  39. TS n     translation step, only the integral part of n is considered
  40. CU f     continuous update in Mover on (f=1)/off (f=0)
  41.  
  42. RR n,n   rendering resolution (X pixels by Y pixels)
  43. AR n     rendering aspect ratio
  44. FL n     rendering focal length
  45. AM n     ambient light intensity (0-255)
  46. BR n     overall brightness, only the integral part of n is considered
  47. SD f     calculate shadows on (f=1)/off (f=0)
  48. MT f     multitask rendering on (f=1)/off (f=0)
  49. DL f     default lamps on (f=1)/off (f=0)
  50.  
  51.    to add extra lamps use the command
  52.  
  53. LP px,py,pz,tx,ty,tz,i,s 
  54.  
  55.    where px,py,pz is the position of the lamp
  56.          tx,ty,tz is the target
  57.          i is the intensity (0-255)
  58.      and s is the spread in degrees (0 => equal intensity in all directions)
  59.  
  60. eg
  61.  
  62. LP -0.5,0.5,-0.5, 0.66,0.50,0.10, 115, 60
  63.  
  64.    note: the DL command (if present) should appear before any LP commands,
  65. if not, or if more than one DL command appears in the file, the behaviour is
  66. undefined.
  67.  
  68.